<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
   <li><a href="">首页</a></li>
    <li><a href="">用户管理</a></li>
    <li><a href="">用户管理列表</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><span><img src="__PUBLIC__/images/t01.png" /></span>
		<a href="{:url('admin/User/add')}">添加用户</a></li>
        </ul>
		
	<form action="" method="get">
   	 <ul  class="seachform" >
    
     <li><label> 用户名</label>
	  <input  type="text" name="uname" placeholder="输入搜索标题..." class="scinput" value="{$uname}" /></li>
      
	 <li>
	 <input name="submit" type="submit" style="width:100px;" class="scbtn" value="查询"/></li>
    
    </ul>
	</form>
    </div>
    
    
    <table class="tablelist">
    	<thead>
    	<tr>
      <th><input type="checkbox" class="all" onclick="quanxuan3();">全选</th>
        <th><center>用户名</center></th>
		 <th><center>密码</center></th>
        <th><center>级别</center></th>
		 
       <th><center>支付宝账号</center></th> 
	   <th><center>微信账号</center></th> 
		  <th><center>银行卡号</center></th>  
		<th><center>注册时间</center></th>
        <th><center>操作</center></th>
        </tr>
        </thead>
        <tbody>
      <form name=form1 action="__URL__/pdel" method="post">

	  {volist name='list' id='list'}
 


         <tr class="shopx">
        <td align="center"><input type="checkbox" name="aid[]" value="{$list.uid}"></td>
        <td align="center">
		 	{$list.uname}		 
		</td>
		    <td align="center">
		 	{$list.upwd}		 
		</td>
		<td align="center">
	
		 
		{$list.level}				 
		</td>
		  <td align="center">{$list.zfb}		 </td>  
	  <td align="center">{$list.yhk}		 </td>  
		 
		    <td align="center">2</td>  
        <td align="center">{$list.addtime|date="y-m-d H:i:s",###}	 
	 </td>
       <td align="center">
		   <a href="__URL__/edit/uid/{$list.uid}" class="tablelink">修改</a> 
		   <a href="__URL__/del/uid/{$list.uid}" onclick="return confirm('是否确认删除？');" name="198" class="del">删除</a>
	   </td>
        </tr> 
{/volist}
		  

	<tr>
		<td colspan="9" style="text-align:left;">&nbsp;&nbsp;
			<input type="checkbox" class="all" onclick="quanxuan3();" >全选 <input    type="submit" class="all" value="删除">&nbsp;<a href="javascript:document.location.reload()">刷新</a>
		</td>

	</tr>   
	<tr>
		<td colspan="9" style="text-align:left;">&nbsp;&nbsp;
			    <div class="pagin">
    	 {$page}
    </div>
	</form>	</td>

	</tr> 	
        </tbody>
    </table>
    
 <script type="text/javascript"> //javascript开始
	function quanxuan3()
		{
			var obj=document.getElementsByName('aid[]');//实现反选效果
			for(var i=0;i<obj.length;i++)
			{
				obj[i].checked=!obj[i].checked;
			}
		}
</script>

    </div>
 <style>
.pagination li {float:left}
 </style>

    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>